package com.sunwayworld.basemodule.rm.person.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.rm.person.bean.LimsPersonCertificateBean;
import com.sunwayworld.basemodule.rm.person.dao.LimsPersonCertificateDao;
import com.sunwayworld.basemodule.rm.person.mapper.LimsPersonCertificateMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

@Repository
@GikamBean
public class LimsPersonCertificateDaoImpl extends MybatisDaoSupport<LimsPersonCertificateBean, Long> implements LimsPersonCertificateDao {

    @Autowired
    private LimsPersonCertificateMapper limsPersonCertificateMapper;

    @Override
    public LimsPersonCertificateMapper getMapper() {
        return limsPersonCertificateMapper;
    }

    @Override
    public Integer selectMaxSorted(Long personId) {
        return getMapper().selectMaxSorted(personId);
    }

}
